package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

/**
 * 人员档案表 t_person_file
 * 
 * @author ruoyi
 * @date 2019-02-22
 */
public class TPersonFile extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 人员工号   */
	private String code;
	/** 姓名 */
	private String name;
	/** 性别 */
	private String sex;
	/** 工种 */
	private String workType;
	/** 等级 */
	private String typeVer;
	/** 所属工位编码 */
	private String workStation;
	/** 所属班组名称 */
	private String workTeam;
	/** $column.columnComment */
	private Integer flag;

	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setSex(String sex) 
	{
		this.sex = sex;
	}

	public String getSex() 
	{
		return sex;
	}
	public void setWorkType(String workType) 
	{
		this.workType = workType;
	}

	public String getWorkType() 
	{
		return workType;
	}
	public void setTypeVer(String typeVer) 
	{
		this.typeVer = typeVer;
	}

	public String getTypeVer() 
	{
		return typeVer;
	}
	public void setWorkStation(String workStation) 
	{
		this.workStation = workStation;
	}

	public String getWorkStation() 
	{
		return workStation;
	}
	public void setWorkTeam(String workTeam) 
	{
		this.workTeam = workTeam;
	}

	public String getWorkTeam() 
	{
		return workTeam;
	}
	public void setFlag(Integer flag) 
	{
		this.flag = flag;
	}

	public Integer getFlag() 
	{
		return flag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .append("sex", getSex())
            .append("workType", getWorkType())
            .append("typeVer", getTypeVer())
            .append("workStation", getWorkStation())
            .append("workTeam", getWorkTeam())
            .append("flag", getFlag())
            .toString();
    }
}
